document.write('<div id="loading"><br><center><img alt="Loading" src="images/loadinfo.net.gif" width="48" height="48" /><br /><font style="font-family:Arial, Helvetica, sans-serif;font-size:20px;color:white">Loading</font></center><br><br></div>');

// Created by: Simon Willison | http://simon.incutio.com/
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

addLoadEvent(function() {
  document.getElementById("loading").style.display="none";
});